package ai.peanut.provider.a.rest;

import com.alibaba.dubbo.config.annotation.Service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;


@Service(protocol = "rest,dubbo",version = "1.0.0",interfaceClass = RestTestInterface.class)
public class RestTestInterfaceImpl implements RestTestInterface {

    public String demo() {
        return 222+"----------sdfdsfdsf";
    }
}
